package com.lncg;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.lncg.mapper")
@EnableScheduling  // 启用定时任务功能
public class TcpServerApplication {

	public static void main(String[] args) {
		// 启动 Spring Boot 应用，容器启动完成后会自动装配并运行 Netty 服务器
		SpringApplication.run(TcpServerApplication.class, args);
	}
}


